<html>
<head><meta charset="utf-8"><title>Help with arm64 apple-iOS support on a Linux host · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20with.20arm64.20apple-iOS.20support.20on.20a.20Linux.20host.html">Help with arm64 apple-iOS support on a Linux host</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="200940036"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Help%20with%20arm64%20apple-iOS%20support%20on%20a%20Linux%20host/near/200940036" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> aspen <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20with.20arm64.20apple-iOS.20support.20on.20a.20Linux.20host.html#200940036">(Jun 15 2020 at 20:18)</a>:</h4>
<p>I have an Apple LLVM toolchain compiled for linux, with arm64/arm64e support. I have added the appropiate targets to the rustc source code, but get various errors</p>
<div class="codehilite"><pre><span></span><code>[target.arm64-apple-ios]
linker = &quot;/home/aleister/Builds/ios-arm64e-clang-toolchain/bin/ld64&quot;
cc = &quot;/home/aleister/Builds/ios-arm64e-clang-toolchain/bin/clang&quot;
cxx = &quot;/home/aleister/Builds/ios-arm64e-clang-toolchain/bin/clang++&quot;
ar = &quot;/home/aleister/Builds/ios-arm64e-clang-toolchain/bin/llvm-ar&quot;
ranlib = &quot;/home/aleister/Builds/ios-arm64e-clang-toolchain/bin/llvm-ranlib&quot;
llvm-filecheck = &quot;/home/aleister/Builds/ios-arm64e-clang-toolchain/bin/FileCheck&quot;
llvm-config = &quot;/home/aleister/Builds/ios-arm64e-clang-toolchain/bin/llvm-config&quot;

[target.arm64e-apple-ios]
linker = &quot;/home/aleister/Builds/ios-arm64e-clang-toolchain/bin/ld64&quot;
cc = &quot;/home/aleister/Builds/ios-arm64e-clang-toolchain/bin/clang&quot;
cxx = &quot;/home/aleister/Builds/ios-arm64e-clang-toolchain/bin/clang++&quot;
ar = &quot;/home/aleister/Builds/ios-arm64e-clang-toolchain/bin/llvm-ar&quot;
ranlib = &quot;/home/aleister/Builds/ios-arm64e-clang-toolchain/bin/llvm-ranlib&quot;
llvm-filecheck = &quot;/home/aleister/Builds/ios-arm64e-clang-toolchain/bin/FileCheck&quot;
llvm-config = &quot;/home/aleister/Builds/ios-arm64e-clang-toolchain/bin/llvm-config&quot;
</code></pre></div>



<a name="200940108"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Help%20with%20arm64%20apple-iOS%20support%20on%20a%20Linux%20host/near/200940108" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> aspen <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20with.20arm64.20apple-iOS.20support.20on.20a.20Linux.20host.html#200940108">(Jun 15 2020 at 20:19)</a>:</h4>
<p>and yes, I have renamed aarch64-apple-ios to arm64-apple-ios and updated the appropriate locations in the source, because arm64 is the proper terminology.</p>



<a name="200959542"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Help%20with%20arm64%20apple-iOS%20support%20on%20a%20Linux%20host/near/200959542" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> aspen <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20with.20arm64.20apple-iOS.20support.20on.20a.20Linux.20host.html#200959542">(Jun 15 2020 at 23:52)</a>:</h4>
<p>help would be appreciated, i'm tired of using a macOS VM.</p>



<a name="200971441"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Help%20with%20arm64%20apple-iOS%20support%20on%20a%20Linux%20host/near/200971441" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20with.20arm64.20apple-iOS.20support.20on.20a.20Linux.20host.html#200971441">(Jun 16 2020 at 04:12)</a>:</h4>
<p>personally, I have very little knowledge about iOS or arm, but would <code>rustup target add aarch64-apple-ios</code> work?</p>



<a name="200971462"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Help%20with%20arm64%20apple-iOS%20support%20on%20a%20Linux%20host/near/200971462" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20with.20arm64.20apple-iOS.20support.20on.20a.20Linux.20host.html#200971462">(Jun 16 2020 at 04:13)</a>:</h4>
<p>and then compile with <code>cargo build --target aarch64-apple-ios</code></p>



<a name="200971548"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Help%20with%20arm64%20apple-iOS%20support%20on%20a%20Linux%20host/near/200971548" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20with.20arm64.20apple-iOS.20support.20on.20a.20Linux.20host.html#200971548">(Jun 16 2020 at 04:14)</a>:</h4>
<p>(sorry, corrected the rustup command)</p>



<a name="200971579"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Help%20with%20arm64%20apple-iOS%20support%20on%20a%20Linux%20host/near/200971579" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20with.20arm64.20apple-iOS.20support.20on.20a.20Linux.20host.html#200971579">(Jun 16 2020 at 04:15)</a>:</h4>
<p>(also, sorry, if this is a completely off-base suggestion...)</p>



<a name="201049880"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Help%20with%20arm64%20apple-iOS%20support%20on%20a%20Linux%20host/near/201049880" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> aspen <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20with.20arm64.20apple-iOS.20support.20on.20a.20Linux.20host.html#201049880">(Jun 16 2020 at 17:41)</a>:</h4>
<p><span class="user-mention silent" data-user-id="198054">mark-i-m</span> <a href="#narrow/stream/182449-t-compiler.2Fhelp/topic/Help.20with.20arm64.20apple-iOS.20support.20on.20a.20Linux.20host/near/200971441">said</a>:</p>
<blockquote>
<p>personally, I have very little knowledge about iOS or arm, but would <code>rustup target add aarch64-apple-ios</code> work?</p>
</blockquote>
<p>not rly, because the official target has dynamic linking support off, even though it fully works when turned off.</p>
<p>plus i need to compile in arm64e support, which is currently a pain because cc-rs/compiler-builtins is an ass.</p>



<a name="201055115"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Help%20with%20arm64%20apple-iOS%20support%20on%20a%20Linux%20host/near/201055115" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20with.20arm64.20apple-iOS.20support.20on.20a.20Linux.20host.html#201055115">(Jun 16 2020 at 18:23)</a>:</h4>
<p>ah, sorry, I don't have any ideas then</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>